<include file="public:header" />
<!--SEO设置-->
<div class="subnav">
    <h1 class="title_2 line_x">SEO设置</h1>
</div>
<div class="pad_lr_10">
    <div class="col_tab">
        <ul class="tip_list clearfix ml20">
            <li>网站标题 <span class="highlight">{site_name}</span></li>
            <li>站点设置里面的Title <span class="highlight">{site_title}</span></li>
            <li>站点设置里面的Keywords <span class="highlight">{site_keywords}</span></li>
            <li>站点设置里面的Description <span class="highlight">{site_description}</span></li>
        </ul>
        <ul class="J_tabs tab_but cu_li mt10">
            <li class="current">全局配置</li>
            <li>首页</li>
            <li>列表页面</li>
            <li>商品详情页</li>
            <li>分馆页面</li>
            <li>团购页面</li>
            <li>文章页面</li>
        </ul>
        <form id="info_form" action="{:u('seo/page')}" method="post">
        <div class="J_panes">
			<!-- 全局 -->
			<div class="content_list pad_10">
                <table width="100%" class="table_form">                    
                    <tr>
                        <th>{:L('seo_title')} :</th>
                        <td><input type="text" name="setting[site_title]" class="input-text" size="50" value="{:C('ins_site_title')}"></td>
                    </tr>
                    <tr>
                        <th>{:L('seo_keys')} :</th>
                        <td><input type="text" name="setting[site_keyword]" class="input-text" size="50" value="{:C('ins_site_keyword')}"></td>
                    </tr>
                    <tr>
                        <th>{:L('seo_desc')} :</th>
                        <td><textarea rows="3" cols="80" name="setting[site_description]">{:C('ins_site_description')}</textarea></td>
                    </tr>                    
                </table>
            </div>
			<!-- 首页 -->
			<div class="content_list pad_10">
                <table width="100%" class="table_form">                    
                    <tr>
                        <th>Title</th>
                        <td><textarea name="seo_config[home][title]" cols="80" rows="2">{$seo_config.home.title}</textarea></td>
                    </tr>
                    <tr>
                        <th>Keywords</th>
                        <td><textarea name="seo_config[home][keywords]" cols="80" rows="2">{$seo_config.home.keywords}</textarea></td>
                    </tr>
                    <tr>
                        <th>Description</th>
                        <td><textarea name="seo_config[home][description]" cols="80" rows="3">{$seo_config.home.description}</textarea></td>
                    </tr>
                </table>
            </div>
			<!-- 列表页面 -->
			<div class="content_list pad_10" style="display:none;">
                <table width="100%" class="table_form">
                    <thead>
                    <tr>
                        <th colspan="2" align="left">商品分类</th>
                    </tr>                        
                    </thead>
                    <tr>
                        <td width="80"></td>
                        <td>
                            <ul class="tip_list clearfix">
                                <li>分类名称 <span class="highlight">{cate_name}</span></li>
                                <li>分类Title <span class="highlight">{seo_title}</span></li>
                                <li>分类Keywords<span class="highlight">{seo_keywords}</span></li>
                                <li>分类Description<span class="highlight">{seo_description}</span></li>
                            </ul>
                        </td>
                    </tr>
                    <tr>
                        <th>Title</th>
                        <td><textarea name="seo_config[cate][title]" cols="80" rows="2">{$seo_config.cate.title}</textarea></td>
                    </tr>
                    <tr>
                        <th>Keywords</th>
                        <td><textarea name="seo_config[cate][keywords]" cols="80" rows="2">{$seo_config.cate.keywords}</textarea></td>
                    </tr>
                    <tr>
                        <th>Description</th>
                        <td><textarea name="seo_config[cate][description]" cols="80" rows="3">{$seo_config.cate.description}</textarea></td>
                    </tr>
                </table>
                <table width="100%" class="table_form">
                    <thead>
                    <tr>
                        <th colspan="2" align="left">商品搜索</th>
                    </tr>                        
                    </thead>
                    <tr>
                        <td width="80"></td>
                        <td>
                            <ul class="tip_list clearfix">
                                <li>搜索关键字 <span class="highlight">{keyword}</span></li>
                            </ul>
                        </td>
                    </tr>
                    <tr>
                        <th>Title</th>
                        <td><textarea name="seo_config[search][title]" cols="80" rows="2">{$seo_config.search.title}</textarea></td>
                    </tr>
                    <tr>
                        <th>Keywords</th>
                        <td><textarea name="seo_config[search][keywords]" cols="80" rows="2">{$seo_config.search.keywords}</textarea></td>
                    </tr>
                    <tr>
                        <th>Description</th>
                        <td><textarea name="seo_config[search][description]" cols="80" rows="3">{$seo_config.search.description}</textarea></td>
                    </tr>
                </table>
            </div>
			<!-- 商品详情页 -->
			<div class="content_list pad_10" style="display:none;">
                <table width="100%" class="table_form">
                    <tr>
                        <td width="80"></td>
                        <td>
                            <ul class="tip_list clearfix">
                                <li>商品标题 <span class="highlight">{item_title}</span></li>
                                <li>商品标签 <span class="highlight">{item_tag}</span></li>
                                <li>商品Title <span class="highlight">{seo_title}</span></li>
                                <li>商品Keywords <span class="highlight">{seo_keywords}</span></li>
                                <li>商品Description <span class="highlight">{seo_description}</span></li>
                            </ul>
                        </td>
                    </tr>
                    <tr>
                        <th>Title</th>
                        <td><textarea name="seo_config[item][title]" cols="80" rows="2">{$seo_config.item.title}</textarea></td>
                    </tr>
                    <tr>
                        <th>Keywords</th>
                        <td><textarea name="seo_config[item][keywords]" cols="80" rows="2">{$seo_config.item.keywords}</textarea></td>
                    </tr>
                    <tr>
                        <th>Description</th>
                        <td><textarea name="seo_config[item][description]" cols="80" rows="3">{$seo_config.item.description}</textarea></td>
                    </tr>
                </table>
            </div>
			<!-- 分馆页面 -->
			<div class="content_list pad_10" style="display:none;">
                <table width="100%" class="table_form">
                    <tr>
                        <td width="80"></td>
                        <td>
                            <ul class="tip_list clearfix">
                                <li>分馆名称 <span class="highlight">{spec_title}</span></li>
                            </ul>
                        </td>
                    </tr>
                    <tr>
                        <th>Title</th>
                        <td><textarea name="seo_config[spec][title]" cols="80" rows="2">{$seo_config.spec.title}</textarea></td>
                    </tr>
                    <tr>
                        <th>Keywords</th>
                        <td><textarea name="seo_config[spec][keywords]" cols="80" rows="2">{$seo_config.spec.keywords}</textarea></td>
                    </tr>
                    <tr>
                        <th>Description</th>
                        <td><textarea name="seo_config[spec][description]" cols="80" rows="3">{$seo_config.spec.description}</textarea></td>
                    </tr>
                </table>
            </div>
			<!-- 团购页面 -->
			<div class="content_list pad_10" style="display:none;">
                <table width="100%" class="table_form">
                    <thead>
                    <tr>
                        <th colspan="2" align="left">团购首页</th>
                    </tr>
                    </thead>
                    <tr>
                        <th width="80">Title</th>
                        <td><textarea name="seo_config[tuan][title]" cols="80" rows="2">{$seo_config.tuan.title}</textarea></td>
                    </tr>
                    <tr>
                        <th>Keywords</th>
                        <td><textarea name="seo_config[tuan][keywords]" cols="80" rows="2">{$seo_config.tuan.keywords}</textarea></td>
                    </tr>
                    <tr>
                        <th>Description</th>
                        <td><textarea name="seo_config[tuan][description]" cols="80" rows="3">{$seo_config.tuan.description}</textarea></td>
                    </tr>
                </table>
                <table width="100%" class="table_form">
                    <thead>
                    <tr>
                        <th colspan="2" align="left">团购详细页</th>
                    </tr>
                    </thead>
                    <tr>
                        <td width="80"></td>
                        <td>
                            <ul class="tip_list clearfix">
                                <li>团购标题 <span class="highlight">{tuan_title}</span></li>
								<li>商品标题 <span class="highlight">{item_title}</span></li>
                                <li>商品标签 <span class="highlight">{item_tag}</span></li>
                                <li>商品Title <span class="highlight">{seo_title}</span></li>
                                <li>商品Keywords <span class="highlight">{seo_keywords}</span></li>
                                <li>商品Description <span class="highlight">{seo_description}</span></li>
                            </ul>
                        </td>
                    </tr>
                    <tr>
                        <th>Title</th>
                        <td><textarea name="seo_config[tuan_info][title]" cols="80" rows="2">{$seo_config.tuan_info.title}</textarea></td>
                    </tr>
                    <tr>
                        <th>Keywords</th>
                        <td><textarea name="seo_config[tuan_info][keywords]" cols="80" rows="2">{$seo_config.tuan_info.keywords}</textarea></td>
                    </tr>
                    <tr>
                        <th>Description</th>
                        <td><textarea name="seo_config[tuan_info][description]" cols="80" rows="3">{$seo_config.tuan_info.description}</textarea></td>
                    </tr>
                </table>
            </div>
			<!-- 文章页面 -->
			<div class="content_list pad_10" style="display:none;">
                <table width="100%" class="table_form">
                    <thead>
                    <tr>
                        <th colspan="2" align="left">文章首页</th>
                    </tr>
                    </thead>
					<tr>
                        <td width="80"></td>
                        <td>
                            <ul class="tip_list clearfix">
								<li>分类标题 <span class="highlight">{article_cate}</span></li>
                                <li>分类Title <span class="highlight">{seo_title}</span></li>
                                <li>分类Keywords <span class="highlight">{seo_keywords}</span></li>
                                <li>分类Description <span class="highlight">{seo_description}</span></li>
                            </ul>
                        </td>
                    </tr>
                    <tr>
                        <th width="80">Title</th>
                        <td><textarea name="seo_config[article_cate][title]" cols="80" rows="2">{$seo_config.article_cate.title}</textarea></td>
                    </tr>
                    <tr>
                        <th>Keywords</th>
                        <td><textarea name="seo_config[article_cate][keywords]" cols="80" rows="2">{$seo_config.article_cate.keywords}</textarea></td>
                    </tr>
                    <tr>
                        <th>Description</th>
                        <td><textarea name="seo_config[article_cate][description]" cols="80" rows="3">{$seo_config.article_cate.description}</textarea></td>
                    </tr>
                </table>
                <table width="100%" class="table_form">
                    <thead>
                    <tr>
                        <th colspan="2" align="left">文章详细页</th>
                    </tr>
                    </thead>
                    <tr>
                        <td width="80"></td>
                        <td>
                            <ul class="tip_list clearfix">
								<li>文章标题 <span class="highlight">{article_title}</span></li>
                                <li>文章Title <span class="highlight">{seo_title}</span></li>
                                <li>文章Keywords <span class="highlight">{seo_keywords}</span></li>
                                <li>文章Description <span class="highlight">{seo_description}</span></li>
                            </ul>
                        </td>
                    </tr>
                    <tr>
                        <th>Title</th>
                        <td><textarea name="seo_config[article][title]" cols="80" rows="2">{$seo_config.article.title}</textarea></td>
                    </tr>
                    <tr>
                        <th>Keywords</th>
                        <td><textarea name="seo_config[article][keywords]" cols="80" rows="2">{$seo_config.article.keywords}</textarea></td>
                    </tr>
                    <tr>
                        <th>Description</th>
                        <td><textarea name="seo_config[article][description]" cols="80" rows="3">{$seo_config.article.description}</textarea></td>
                    </tr>
                </table>
            </div>
        </div>
        
        <div class="mt10">
            <input type="hidden" name="menuid"  value="{$menuid}"/>
            <input type="submit" class="btn btn_submit" name="do" value="{:L('submit')}"/>
        </div>
        </form>
    </div>
</div>
<include file="public:footer" />
<script>
$(function(){
    $('ul.J_tabs').tabs('div.J_panes > div');
});
</script>
</body>
</html>